<?php

function oh_render_location_dropdown()
{
	$locations=file('settings/locations.txt');

	echo "<select name=\"location\">\n";	
	
	foreach($locations as $location)
	{
		echo "<option value=\"".$location."\">".$location."</option>\n";
	}
	echo "</select>\n";
}

function oh_render_role_dropdown()
{
	$roles=file('settings/roles.txt');
	
	echo "<select name=\"role\">\n";
	
	foreach ($roles as $role)
	{
		echo "<option value=\"".$role."\">".$role."</option>\n";
	}
	echo "</select>\n";
}

?>